from rest_framework import serializers
from mac.models import Product, Mac


class ProductSerializer(serializers.ModelSerializer):
    class Meta:
        model = Product
        fields = "__all__"


class MacsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Mac
        fields = '__all__'
